package com.xk.school_device.service;

import com.xk.school_device.common.Result;
import com.xk.school_device.entity.Users;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xk
 * @since 2025-04-16
 */
public interface IUsersService extends IService<Users> {

    Result login(Users user);

    Result logout(Users user);

    Result updateUserInfoById(Users user);


    Result updateAvatar(String id, MultipartFile file);

    void restPassword(String id, String password);
}
